home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / etc / bash_completion.d / yum-arch < prev   
Encoding:
Text File  |  2010-11-16  |  463 b   |  25 lines

  1. # yum-arch(8) completion
  2.  
  3. have yum-arch &&
  4. _yum_arch()
  5. {
  6.     local cur
  7.     COMPREPLY=()
  8.     _get_comp_words_by_ref cur
  9.  
  10.     if [[ "$cur" == -* ]] ; then
  11.         COMPREPLY=( $( compgen -W '-d -v -vv -n -c -z -s -l -q' -- "$cur" ) )
  12.     else
  13.         _filedir -d
  14.     fi
  15. } &&
  16. complete -F _yum_arch -o filenames yum-arch
  17.  
  18. # Local variables:
  19. # mode: shell-script
  20. # sh-basic-offset: 4
  21. # sh-indent-comment: t
  22. # indent-tabs-mode: nil
  23. # End:
  24. # ex: ts=4 sw=4 et filetype=sh
  25.